package com.park.web;

public class Ab {
	public static void main(String[] args) {
		System.out.println(test());
	}
	public static String test(){
		System.out.println("开始...");
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				String name = "";
				for (int i = 0; i < 20000; i++) {
					name +=i;
				}
				try {
					Thread.sleep(10000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				System.out.println("循环结束..");
			}
		}).start();
		
		new Thread(){
			@Override
			public void run() {
				System.out.println("我先结束...");
			}
		}.start();
		System.out.println("结束...");
		return "11111111111";
	}
}
